﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[RequireComponent(typeof(Transform))]
public class NeoLibRotateUtil : MonoBehaviour {

	Transform t = null;

	public int speed = 10;

	void Start() {
		Debug.Log("Start");

		t = GetComponent<Transform>();
	}

	void Update () {
		if(t)
		{
			t.Rotate(Vector3.up * speed);
		}
	}
}
